DistortionA distortion audio effector.
Extends Effector.
Work in progress. This class currently only declares its identity (
name) and an emptyinitializeOnAttachment()implementation — it does not yet create anaudioWorkletNode, expose any tunable properties, or apply any actual distortion processing. Attaching it to aChannelorMasterwill not audibly change the signal yet.
import { Distortion } from "@fluex/fluexgl-dsp";
const distortion = new Distortion();
await distortion.initializeOnAttachment(audioContext);
new Distortion(): Distortion;
Takes no arguments.
name: stringInternal name for this effector. Defaults to "Distortion".
initializeOnAttachment(context: AudioContext): Promise<void>Currently an empty implementation — no audioWorkletNode or context is set up.
context: AudioContextPromise<void>This class does not currently emit any events.
This class does not define public getters or setters.